Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump hex_core and certifi dependency #2898

Merged
merged 3 commits into from
Jun 12, 2024
Merged

Conversation

ferd
Copy link
Collaborator

@ferd ferd commented Jun 11, 2024

Versions were very out of date, this was overdue.

Related hex_core PR for some clean-up I did while around there: hexpm/hex_core#146

@ferd
Copy link
Collaborator Author

ferd commented Jun 11, 2024

huh not sure why CI implodes here, will have to dig a bit.

ferd added 2 commits June 11, 2024 15:00
This required some manual patching of the gpb plugin and lib versions
but the rest is unchanged.

Also the min version gets bumped to OTP-25, and some adapting was
required in `rebar_packages` due to a format change.
@@ -246,7 +246,8 @@ update_package(Name, RepoConfig=#{name := Repo}, State) ->
?DEBUG("Getting definition for package ~ts from repo ~ts",
[Name, rebar_hex_repos:format_repo(RepoConfig)]),
try r3_hex_repo:get_package(get_package_repo_config(RepoConfig), Name) of
{ok, {200, _Headers, Releases}} ->
{ok, {200, _Headers, Package}} ->
#{releases := Releases} = Package,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch :)

@ferd
Copy link
Collaborator Author

ferd commented Jun 11, 2024

Currently checking with @starbelly to see whether this would have any effect on the hex plugin for publishing packages.

@ferd
Copy link
Collaborator Author

ferd commented Jun 11, 2024

Currently checking with @starbelly to see whether this would have any effect on the hex plugin for publishing packages.

Confirmed that it's safe, both projects use different "versions" of the lib due to our vendoring in here.

@ferd ferd merged commit d055c3a into erlang:main Jun 12, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants